package com.cne.gmail.Gmail.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 分组
 */
@Data
@Document("cneGroup")
@ApiModel(value="CneGroup",description="个人分组信息")
public class CneGroup {
    @ApiModelProperty(name = "groupName",value = "分组信息",example = "CDG组,UPS组")
    private List<String> groupName;
    @Id
    @ApiModelProperty(name = "me",value = "当前用户邮箱",example = "zhangsuan@gmail.com")
    private String me;
}
